effect of heat on magnetic strength